/**
 * ResMania
 * More Information contact: info@resmania.com
 *
 * @package ResMania Joomla settings panel JS
 * @version 0.5
 * @author webformatique
 * @copyright (C) 2010- webformatique
 * @license GNU/GPLv3 http://www.gnu.org/copyleft/gpl.html
 */
RM.Pages.Config_Edit_Joomla = new Ext.Panel({
    id: 'rm_pages_config_edit_cms',
    title : RM.Translate.Admin.Config.Edit.CMS,
    bodyStyle : "padding:10px;",
    labelWidth: 190,
    layout: 'form',
    items : [{
        xtype : "fieldset",
        title: RM.Translate.Admin.Config.Edit.CMSSettings,
        bodyStyle : "padding:10px",
        layout: 'form',
        autoHeight: 600,
        items : [{
            xtype : "xcheckbox",
            id: "rm_config_enable_cms_integration",
            name : "rm_config_enable_cms_integration",
            inputValue : "1",
            fieldLabel : RM.Translate.Admin.Config.Edit.EnableCMSIntegration
        },{
            xtype : "xcheckbox",
            id: "rm_config_enable_cms_user_creation",
            name : "rm_config_enable_cms_user_creation",
            inputValue : "1",
            fieldLabel : RM.Translate.Admin.Config.Edit.EnableClientUserCreation
        }]
    }]
});

RM.Pages.Config_Edit_Form_Tabpanel.add(RM.Pages.Config_Edit_Joomla);